package com.hoshiibuy.global.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 修改属性参数
 * </p>
 *
 * @author campchen
 * @since 2019-04-27
 */
@Data
@ApiModel(value = "新增属性", description = "新增属性")
public class SysPropertiesAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 平台ID
     */
    @ApiModelProperty(value = "平台ID 由系统自动传递", required = true, example = "3189609977215975479")
    private Long platid;

    /**
     * 属性名称
     */
    @ApiModelProperty(value = "属性名称", required = true)
    private String name;

    /**
     * 属性类别
     */
    @ApiModelProperty(value = "属性类别", required = true,example = "1")
    private Integer fieldtype;

    /**
     * 内容长度
     */
    @ApiModelProperty(value = "内容长度")
    private Long fieldlen;

    /**
     * 是否是必须值
     */
    @ApiModelProperty(value = "是否是必须值 0-否 1-是", required = true,example = "1")
    private Integer required;

    /**
     * 标志
     */
    @ApiModelProperty(value = "标志")
    private String tag;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人 由系统自动传递", required = true)
    private String createdby;
}
